package cn.neusoft.yuejian307.myinterface;

import android.content.Context;

import java.util.List;

import cn.neusoft.yuejian307.bean.Choiceness;
import cn.neusoft.yuejian307.bean.Coach;
import cn.neusoft.yuejian307.bean.NewBean;
import cn.neusoft.yuejian307.bean.Train;
import cn.neusoft.yuejian307.bean.User;
import cn.neusoft.yuejian307.bean.Video;
import cn.neusoft.yuejian307.listener.UserListener;


public interface UserIface {
    void registerData(UserListener<User> listener,String phone,String username,String password);
    void loginData(UserListener<User> listener,String phone,String password);
    void activityData(UserListener<Choiceness> listener);
    void applyData(UserListener<User> listener,int user_id,int activity_id, String  activity_name,String  activity_type,
          String  activity_price,String  user_phone,String  user_name,String  paynum);
    void coachData(UserListener<Coach> listener,int club_id);

    void videoData(UserListener<Video> listener, int club_id);
    void trainData(UserListener<List<Train>> listener, int flag);

    void trianApplyData(UserListener<User> listener, int userid,int trainid,String name,String price,String phone);

    void newsData(UserListener<List<NewBean>> listener, int club_id);

    void addNewsData(int club_id, int send_id, String content, Context context);

}